#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <string>

#include <opencv2/opencv.hpp>
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

private slots:
    void on_openImageBtn_clicked();

    void on_applyANPRBtn_clicked();

    void on_saveRgn_toggled(bool checked);

    void on_showSteps_toggled(bool checked);


private:
    Ui::MainWindow *ui;
    std::string filename_whithoutExt;
    bool saveRegions, showSteps;
    cv::Mat input_image;

    std::string getFilename(std::string s);
};

#endif // MAINWINDOW_H
